﻿@{
    var title = "Обзор ошибок";
    ViewBag.Title = title;
}


<div class="title"><h2>@title</h2></div>

<table style="width: 80%;">
@foreach (Domain.Entities.ErrorLogs item in Model)
{
    <tr>
        <td>
            @item.Date
        </td>
        
        <td>
            @Html.ActionLink(item.DeviceName, "SurveyDetailed", "Survey", new { devName = item.DeviceName }, new { devName = item.DeviceName })
        </td>
        <td>
            @item.IP
        </td>
        <td>
            @item.Type
        </td>
        <td>
            @item.Infos
        </td>
    </tr>
}
</table>
